fe0acdbb1503d4392c4be013b5256e1383e79876,src/services/org/opennms/netmgt/threshd/LatencyThresholder.java,LatencyThresholder,initialize,#Map#,147
Before Change
// Initialize jni RRD interface.
//
try
{
org.opennms.netmgt.rrd.Interface.init();
}
catch(SecurityException se)
{
if(log.isEnabledFor(Priority.FATAL))
log.fatal("initialize: Failed to initialize JNI RRD interface", se);
throw new UndeclaredThrowableException(se);
}
catch(UnsatisfiedLinkError ule)
{
if(log.isEnabledFor(Priority.FATAL))
log.fatal("initialize: Failed to initialize JNI RRD interface", ule);
throw new UndeclaredThrowableException(ule);
}
// Save local reference to singleton instance
//
m_rrdInterface = org.opennms.netmgt.rrd.Interface.getInstance();
if (log.isDebugEnabled())
log.debug("initialize: successfully instantiated JNI interface to RRD...");
After Change
m_host = "unresolved.host";
}
try {
RrdUtils.initialize();
}
catch (RrdException e) {
if(log.isEnabledFor(Priority.ERROR))
log.error("initialize: Unable to initialize RrdUtils", e);
throw new RuntimeException("Unable to initialize RrdUtils", e);
}
if (log.isDebugEnabled())